#include <iostream>
using namespace std;
#include <algorithm>

int main()
{
	int m, t, s = 0;
	cin >> m >> t >> s;
	if (t == 0)
	{
		cout << 0 << endl; 
		return 0; 
	}
	if (s % t == 0)
		cout << ((m - s / t) > 0 ? (m - s / t) : 0) << endl;
	else
		cout << ((m - s / t - 1) > 0 ? (m - s / t - 1) : 0) << endl;
	return 0;
}
